Development and application of the network weight matrix to predict traffic flow for congested and uncongested conditions